#include<stdio.h>


int main()
{
    FILE* fp=fopen("file.txt","w");
    if(fp==NULL)
    {
        perror("fopen");
        return -1;
    }
    const char* my_bf="I am LRK!";
    int cnt=1;
    while(cnt<5)
    {
        fprintf(fp,"%d:%s\n",cnt++,my_bf);
    }
    return 0;
}
